package com.ruoyi.yipaiju.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * fo_discount_house对象 fo_discount_house
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public class DiscountHouse extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** latitude */
    @Excel(name = "latitude")
    private String latitude;

    /** longitude */
    @Excel(name = "longitude")
    private String longitude;

    /** client_name */
    @Excel(name = "client_name")
    private String clientName;

    /** phone */
    @Excel(name = "phone")
    private String phone;

    /** register_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "register_time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date registerTime;

    /** only_house */
    @Excel(name = "only_house")
    private String onlyHouse;

    /** owning_type */
    @Excel(name = "owning_type")
    private String owningType;

    /** degree */
    @Excel(name = "degree")
    private String degree;

    /** having_degree */
    @Excel(name = "having_degree")
    private String havingDegree;

    /** stage */
    @Excel(name = "stage")
    private Integer stage;

    /** discount_rate */
    @Excel(name = "discount_rate")
    private BigDecimal discountRate;

    /** status */
    @Excel(name = "status")
    private Integer status;

    /** title */
    @Excel(name = "title")
    private String title;

    /** browse_count */
    @Excel(name = "browse_count")
    private Integer browseCount;
    private Integer browseCount1;

    /** price_yuan */
    @Excel(name = "price_yuan")
    private Integer priceYuan;

    /** built_up_area_square_centimeter */
    @Excel(name = "built_up_area_square_centimeter")
    private BigDecimal builtUpAreaSquareCentimeter;

    /** upload_time */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "upload_time", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date uploadTime;

    /** residential_quarter_name */
    @Excel(name = "residential_quarter_name")
    private String residentialQuarterName;

    /** province */
    @Excel(name = "province")
    private String province;

    /** city */
    @Excel(name = "city")
    private String city;

    /** district */
    @Excel(name = "district")
    private String district;

    /** address */
    @Excel(name = "address")
    private String address;

    /** orientation */
    @Excel(name = "orientation")
    private String orientation;

    /** house_level */
    @Excel(name = "house_level")
    private Integer houseLevel;

    /** house_total_level */
    @Excel(name = "house_total_level")
    private Integer houseTotalLevel;

    /** elevator */
    @Excel(name = "elevator")
    private String elevator;

    /** decoration */
    @Excel(name = "decoration")
    private String decoration;

    /** traffic */
    @Excel(name = "traffic")
    private String traffic;

    /** education */
    @Excel(name = "education")
    private String education;

    /** hospital */
    @Excel(name = "hospital")
    private String hospital;

    /** amenity */
    @Excel(name = "amenity")
    private String amenity;

    /** location */
    @Excel(name = "location")
    private String location;

    /** unit_no */
    @Excel(name = "unit_no")
    private String unitNo;

    /** inside_area_square_centimeter */
    @Excel(name = "inside_area_square_centimeter")
    private Integer insideAreaSquareCentimeter;

    /** house_age */
    @Excel(name = "house_age")
    private Integer houseAge;

    /** house_user */
    @Excel(name = "house_user")
    private String houseUser;

    /** remaining_lease */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "remaining_lease", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date remainingLease;

    /** rent_yuan */
    @Excel(name = "rent_yuan")
    private BigDecimal rentYuan;

    /** unit_price_yuan */
    @Excel(name = "unit_price_yuan")
    private BigDecimal unitPriceYuan;

    /** viewing_call */
    @Excel(name = "viewing_call")
    private String viewingCall;

    /** mortgage1 */
    @Excel(name = "mortgage1")
    private String mortgage1;

    /** mortgage2 */
    @Excel(name = "mortgage2")
    private String mortgage2;

    /** mortgage1_price_yuan */
    @Excel(name = "mortgage1_price_yuan")
    private Integer mortgage1PriceYuan;

    /** mortgage2_price_yuan */
    @Excel(name = "mortgage2_price_yuan")
    private Integer mortgage2PriceYuan;

    /** seizure */
    @Excel(name = "seizure")
    private String seizure;

    /** confiscator1 */
    @Excel(name = "confiscator1")
    private String confiscator1;

    /** confiscator2 */
    @Excel(name = "confiscator2")
    private String confiscator2;

    /** seizure_amount1 */
    @Excel(name = "seizure_amount1")
    private BigDecimal seizureAmount1;

    /** seizure_amount2 */
    @Excel(name = "seizure_amount2")
    private BigDecimal seizureAmount2;

    /** estimate_price_yuan */
    @Excel(name = "estimate_price_yuan")
    private Integer estimatePriceYuan;

    /** market_price_yuan */
    @Excel(name = "market_price_yuan")
    private Integer marketPriceYuan;

    /** intention_price_yuan */
    @Excel(name = "intention_price_yuan")
    private Integer intentionPriceYuan;

    /** specific_requirement */
    @Excel(name = "specific_requirement")
    private String specificRequirement;

    /** recommender */
    @Excel(name = "recommender")
    private String recommender;

    /** bedroom */
    @Excel(name = "bedroom")
    private Integer bedroom;

    /** livingroom */
    @Excel(name = "livingroom")
    private Integer livingroom;

    /** toilet */
    @Excel(name = "toilet")
    private Integer toilet;

    /** kitchen */
    @Excel(name = "kitchen")
    private Integer kitchen;

    /** balcony */
    @Excel(name = "balcony")
    private Integer balcony;

    /** merchant */
    @Excel(name = "merchant")
    private String merchant;

    private String banner;

    private Date deleteTime;

    // 是否收藏， 0否，1是
    private Integer isfavor;
    private Integer isnotice;
    // 收藏id
    private Long favorId;
    // 通知id
    private Long noticeId;

//    tags: ["随时可看", "近地铁", "好学位", "满两年"]
    private String[] tags;
    private String tagsstr;

    private Long priceMin;
    private Long priceMax;
    private BigDecimal areaMin;
    private BigDecimal areaMax;
    /**
     * 默认排序 id 倒序
     * -price_yuan  价格高到低
     * price_yuan   价格低到高
     * -start_time  最新发布 按开始时间倒序
     * discount_rate折扣高到低，折扣高的也就是值小的
     */
    private String orderings;

    private List<Long> ids;


    public Integer getBrowseCount1() {
        return browseCount1;
    }

    public void setBrowseCount1(Integer browseCount1) {
        this.browseCount1 = browseCount1;
    }

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public Date getDeleteTime() {
        return deleteTime;
    }

    public Integer getIsnotice() {
        return isnotice;
    }

    public void setIsnotice(Integer isnotice) {
        this.isnotice = isnotice;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public List<Long> getIds() {
        return ids;
    }

    public void setIds(List<Long> ids) {
        this.ids = ids;
    }

    public String getBanner() {
        return banner;
    }

    public void setBanner(String banner) {
        this.banner = banner;
    }

    public String getTagsstr() {
        return tagsstr;
    }

    public void setTagsstr(String tagsstr) {
        this.tagsstr = tagsstr;
    }

    public String[] getTags() {
        return tags;
    }

    public void setTags(String[] tags) {
        this.tags = tags;
    }

    public Long getPriceMin() {
        return priceMin;
    }

    public void setPriceMin(Long priceMin) {
        this.priceMin = priceMin;
    }

    public Long getPriceMax() {
        return priceMax;
    }

    public void setPriceMax(Long priceMax) {
        this.priceMax = priceMax;
    }

    public BigDecimal getAreaMin() {
        return areaMin;
    }

    public void setAreaMin(BigDecimal areaMin) {
        this.areaMin = areaMin;
    }

    public BigDecimal getAreaMax() {
        return areaMax;
    }

    public void setAreaMax(BigDecimal areaMax) {
        this.areaMax = areaMax;
    }

    public String getOrderings() {
        return orderings;
    }

    public void setOrderings(String orderings) {
        this.orderings = orderings;
    }

    public Long getFavorId() {
        return favorId;
    }

    public void setFavorId(Long favorId) {
        this.favorId = favorId;
    }

    public Long getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(Long noticeId) {
        this.noticeId = noticeId;
    }

    public Integer getIsfavor() {
        return isfavor;
    }

    public void setIsfavor(Integer isfavor) {
        this.isfavor = isfavor;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLatitude(String latitude) 
    {
        this.latitude = latitude;
    }

    public String getLatitude() 
    {
        return latitude;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setClientName(String clientName) 
    {
        this.clientName = clientName;
    }

    public String getClientName() 
    {
        return clientName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setRegisterTime(Date registerTime) 
    {
        this.registerTime = registerTime;
    }

    public Date getRegisterTime() 
    {
        return registerTime;
    }
    public void setOnlyHouse(String onlyHouse) 
    {
        this.onlyHouse = onlyHouse;
    }

    public String getOnlyHouse() 
    {
        return onlyHouse;
    }
    public void setOwningType(String owningType) 
    {
        this.owningType = owningType;
    }

    public String getOwningType() 
    {
        return owningType;
    }
    public void setDegree(String degree) 
    {
        this.degree = degree;
    }

    public String getDegree() 
    {
        return degree;
    }
    public void setHavingDegree(String havingDegree) 
    {
        this.havingDegree = havingDegree;
    }

    public String getHavingDegree() 
    {
        return havingDegree;
    }
    public void setStage(Integer stage) 
    {
        this.stage = stage;
    }

    public Integer getStage() 
    {
        return stage;
    }
    public void setDiscountRate(BigDecimal discountRate) 
    {
        this.discountRate = discountRate;
    }

    public BigDecimal getDiscountRate() 
    {
        return discountRate;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setBrowseCount(Integer browseCount) 
    {
        this.browseCount = browseCount;
    }

    public Integer getBrowseCount() 
    {
        return browseCount;
    }
    public void setPriceYuan(Integer priceYuan) 
    {
        this.priceYuan = priceYuan;
    }

    public Integer getPriceYuan() 
    {
        return priceYuan;
    }
    public void setBuiltUpAreaSquareCentimeter(BigDecimal builtUpAreaSquareCentimeter) 
    {
        this.builtUpAreaSquareCentimeter = builtUpAreaSquareCentimeter;
    }

    public BigDecimal getBuiltUpAreaSquareCentimeter() 
    {
        return builtUpAreaSquareCentimeter;
    }
    public void setUploadTime(Date uploadTime) 
    {
        this.uploadTime = uploadTime;
    }

    public Date getUploadTime() 
    {
        return uploadTime;
    }
    public void setResidentialQuarterName(String residentialQuarterName) 
    {
        this.residentialQuarterName = residentialQuarterName;
    }

    public String getResidentialQuarterName() 
    {
        return residentialQuarterName;
    }
    public void setProvince(String province) 
    {
        this.province = province;
    }

    public String getProvince() 
    {
        return province;
    }
    public void setCity(String city) 
    {
        this.city = city;
    }

    public String getCity() 
    {
        return city;
    }
    public void setDistrict(String district) 
    {
        this.district = district;
    }

    public String getDistrict() 
    {
        return district;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setOrientation(String orientation) 
    {
        this.orientation = orientation;
    }

    public String getOrientation() 
    {
        return orientation;
    }
    public void setHouseLevel(Integer houseLevel) 
    {
        this.houseLevel = houseLevel;
    }

    public Integer getHouseLevel() 
    {
        return houseLevel;
    }
    public void setHouseTotalLevel(Integer houseTotalLevel) 
    {
        this.houseTotalLevel = houseTotalLevel;
    }

    public Integer getHouseTotalLevel() 
    {
        return houseTotalLevel;
    }
    public void setElevator(String elevator) 
    {
        this.elevator = elevator;
    }

    public String getElevator() 
    {
        return elevator;
    }
    public void setDecoration(String decoration) 
    {
        this.decoration = decoration;
    }

    public String getDecoration() 
    {
        return decoration;
    }
    public void setTraffic(String traffic) 
    {
        this.traffic = traffic;
    }

    public String getTraffic() 
    {
        return traffic;
    }
    public void setEducation(String education) 
    {
        this.education = education;
    }

    public String getEducation() 
    {
        return education;
    }
    public void setHospital(String hospital) 
    {
        this.hospital = hospital;
    }

    public String getHospital() 
    {
        return hospital;
    }
    public void setAmenity(String amenity) 
    {
        this.amenity = amenity;
    }

    public String getAmenity() 
    {
        return amenity;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setUnitNo(String unitNo) 
    {
        this.unitNo = unitNo;
    }

    public String getUnitNo() 
    {
        return unitNo;
    }
    public void setInsideAreaSquareCentimeter(Integer insideAreaSquareCentimeter) 
    {
        this.insideAreaSquareCentimeter = insideAreaSquareCentimeter;
    }

    public Integer getInsideAreaSquareCentimeter() 
    {
        return insideAreaSquareCentimeter;
    }
    public void setHouseAge(Integer houseAge) 
    {
        this.houseAge = houseAge;
    }

    public Integer getHouseAge() 
    {
        return houseAge;
    }
    public void setHouseUser(String houseUser) 
    {
        this.houseUser = houseUser;
    }

    public String getHouseUser() 
    {
        return houseUser;
    }
    public void setRemainingLease(Date remainingLease) 
    {
        this.remainingLease = remainingLease;
    }

    public Date getRemainingLease() 
    {
        return remainingLease;
    }
    public void setRentYuan(BigDecimal rentYuan) 
    {
        this.rentYuan = rentYuan;
    }

    public BigDecimal getRentYuan() 
    {
        return rentYuan;
    }
    public void setUnitPriceYuan(BigDecimal unitPriceYuan) 
    {
        this.unitPriceYuan = unitPriceYuan;
    }

    public BigDecimal getUnitPriceYuan() 
    {
        return unitPriceYuan;
    }
    public void setViewingCall(String viewingCall) 
    {
        this.viewingCall = viewingCall;
    }

    public String getViewingCall() 
    {
        return viewingCall;
    }
    public void setMortgage1(String mortgage1) 
    {
        this.mortgage1 = mortgage1;
    }

    public String getMortgage1() 
    {
        return mortgage1;
    }
    public void setMortgage2(String mortgage2) 
    {
        this.mortgage2 = mortgage2;
    }

    public String getMortgage2() 
    {
        return mortgage2;
    }
    public void setMortgage1PriceYuan(Integer mortgage1PriceYuan) 
    {
        this.mortgage1PriceYuan = mortgage1PriceYuan;
    }

    public Integer getMortgage1PriceYuan() 
    {
        return mortgage1PriceYuan;
    }
    public void setMortgage2PriceYuan(Integer mortgage2PriceYuan) 
    {
        this.mortgage2PriceYuan = mortgage2PriceYuan;
    }

    public Integer getMortgage2PriceYuan() 
    {
        return mortgage2PriceYuan;
    }
    public void setSeizure(String seizure) 
    {
        this.seizure = seizure;
    }

    public String getSeizure() 
    {
        return seizure;
    }
    public void setConfiscator1(String confiscator1) 
    {
        this.confiscator1 = confiscator1;
    }

    public String getConfiscator1() 
    {
        return confiscator1;
    }
    public void setConfiscator2(String confiscator2) 
    {
        this.confiscator2 = confiscator2;
    }

    public String getConfiscator2() 
    {
        return confiscator2;
    }
    public void setSeizureAmount1(BigDecimal seizureAmount1) 
    {
        this.seizureAmount1 = seizureAmount1;
    }

    public BigDecimal getSeizureAmount1() 
    {
        return seizureAmount1;
    }
    public void setSeizureAmount2(BigDecimal seizureAmount2) 
    {
        this.seizureAmount2 = seizureAmount2;
    }

    public BigDecimal getSeizureAmount2() 
    {
        return seizureAmount2;
    }
    public void setEstimatePriceYuan(Integer estimatePriceYuan) 
    {
        this.estimatePriceYuan = estimatePriceYuan;
    }

    public Integer getEstimatePriceYuan() 
    {
        return estimatePriceYuan;
    }
    public void setMarketPriceYuan(Integer marketPriceYuan) 
    {
        this.marketPriceYuan = marketPriceYuan;
    }

    public Integer getMarketPriceYuan() 
    {
        return marketPriceYuan;
    }
    public void setIntentionPriceYuan(Integer intentionPriceYuan) 
    {
        this.intentionPriceYuan = intentionPriceYuan;
    }

    public Integer getIntentionPriceYuan() 
    {
        return intentionPriceYuan;
    }
    public void setSpecificRequirement(String specificRequirement) 
    {
        this.specificRequirement = specificRequirement;
    }

    public String getSpecificRequirement() 
    {
        return specificRequirement;
    }
    public void setRecommender(String recommender) 
    {
        this.recommender = recommender;
    }

    public String getRecommender() 
    {
        return recommender;
    }
    public void setBedroom(Integer bedroom) 
    {
        this.bedroom = bedroom;
    }

    public Integer getBedroom() 
    {
        return bedroom;
    }
    public void setLivingroom(Integer livingroom) 
    {
        this.livingroom = livingroom;
    }

    public Integer getLivingroom() 
    {
        return livingroom;
    }
    public void setToilet(Integer toilet) 
    {
        this.toilet = toilet;
    }

    public Integer getToilet() 
    {
        return toilet;
    }
    public void setKitchen(Integer kitchen) 
    {
        this.kitchen = kitchen;
    }

    public Integer getKitchen() 
    {
        return kitchen;
    }
    public void setBalcony(Integer balcony) 
    {
        this.balcony = balcony;
    }

    public Integer getBalcony() 
    {
        return balcony;
    }
    public void setMerchant(String merchant) 
    {
        this.merchant = merchant;
    }

    public String getMerchant() 
    {
        return merchant;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("latitude", getLatitude())
            .append("longitude", getLongitude())
            .append("clientName", getClientName())
            .append("phone", getPhone())
            .append("registerTime", getRegisterTime())
            .append("onlyHouse", getOnlyHouse())
            .append("owningType", getOwningType())
            .append("degree", getDegree())
            .append("havingDegree", getHavingDegree())
            .append("stage", getStage())
            .append("discountRate", getDiscountRate())
            .append("status", getStatus())
            .append("title", getTitle())
            .append("browseCount", getBrowseCount())
            .append("priceYuan", getPriceYuan())
            .append("builtUpAreaSquareCentimeter", getBuiltUpAreaSquareCentimeter())
            .append("uploadTime", getUploadTime())
            .append("residentialQuarterName", getResidentialQuarterName())
            .append("province", getProvince())
            .append("city", getCity())
            .append("district", getDistrict())
            .append("address", getAddress())
            .append("orientation", getOrientation())
            .append("houseLevel", getHouseLevel())
            .append("houseTotalLevel", getHouseTotalLevel())
            .append("elevator", getElevator())
            .append("decoration", getDecoration())
            .append("traffic", getTraffic())
            .append("education", getEducation())
            .append("hospital", getHospital())
            .append("amenity", getAmenity())
            .append("location", getLocation())
            .append("unitNo", getUnitNo())
            .append("insideAreaSquareCentimeter", getInsideAreaSquareCentimeter())
            .append("houseAge", getHouseAge())
            .append("houseUser", getHouseUser())
            .append("remainingLease", getRemainingLease())
            .append("rentYuan", getRentYuan())
            .append("unitPriceYuan", getUnitPriceYuan())
            .append("viewingCall", getViewingCall())
            .append("mortgage1", getMortgage1())
            .append("mortgage2", getMortgage2())
            .append("mortgage1PriceYuan", getMortgage1PriceYuan())
            .append("mortgage2PriceYuan", getMortgage2PriceYuan())
            .append("seizure", getSeizure())
            .append("confiscator1", getConfiscator1())
            .append("confiscator2", getConfiscator2())
            .append("seizureAmount1", getSeizureAmount1())
            .append("seizureAmount2", getSeizureAmount2())
            .append("estimatePriceYuan", getEstimatePriceYuan())
            .append("marketPriceYuan", getMarketPriceYuan())
            .append("intentionPriceYuan", getIntentionPriceYuan())
            .append("specificRequirement", getSpecificRequirement())
            .append("recommender", getRecommender())
            .append("bedroom", getBedroom())
            .append("livingroom", getLivingroom())
            .append("toilet", getToilet())
            .append("kitchen", getKitchen())
            .append("balcony", getBalcony())
            .append("merchant", getMerchant())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
